package org.example.controller;

import org.example.domain.Help;
import org.example.domain.HelpInfo;
import org.example.domain.response.ResponseResult;

public interface HelpController {
    ResponseResult saveHelp(Help help);
    ResponseResult deleteHelp(Integer helpId);
    ResponseResult updateHelp(Help help);
    ResponseResult selectHelpById(Integer helpId,int currentPage, int pageSize);
    ResponseResult saveHelpInfo(HelpInfo helpInfo);
    ResponseResult updateHelpInfo(HelpInfo helpInfo);
    ResponseResult deleteHelpInfo(Integer helpInfoId);
    ResponseResult selectHelpInfo(Integer helpInfoId,int currentPage, int pageSize);
    ResponseResult getHelpByPage(int currentPage, int pageSize);
    ResponseResult getHelpInfoByPage(int currentPage, int pageSize);
}
